package com.matrix.java.chap_04;

import java.util.Scanner;

/*
     给出字符的 Unicode 码
 */
public class Ex4_09 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("Enter a character: ");
        String character = input.next();
        System.out.println((int) character.charAt(0));
        input.close();
    }
}
